home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 25 / Cream of the Crop 25.iso / os2 / gnuwget.zip / wget-1.4.3 / src / connect.h < prev    next >
C/C++ Source or Header  |  1997-01-28  |  1KB  |  38 lines

  1. /* Declarations for connect.
  2.    Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc.
  3.    
  4.    This program is free software; you can redistribute it and/or modify
  5.    it under the terms of the GNU General Public License as published by
  6.    the Free Software Foundation; either version 2 of the License, or
  7.    (at your option) any later version.
  8.    
  9.    This program is distributed in the hope that it will be useful,
  10.    but WITHOUT ANY WARRANTY; without even the implied warranty of
  11.    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  12.    GNU General Public License for more details.
  13.    
  14.    You should have received a copy of the GNU General Public License
  15.    along with this program; if not, write to the Free Software
  16.    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
  17.  
  18.  
  19. #ifndef CONNECT_H
  20. #define CONNECT_H
  21.  
  22. #define BACKLOG 1
  23.  
  24. /* Function declarations */
  25. uerr_t make_connection PARAMS((int *, char *, unsigned short));
  26. uerr_t bindport PARAMS((unsigned short *));
  27. uerr_t acceptport PARAMS((int *));
  28. void closeport PARAMS((int));
  29. unsigned char *conaddr PARAMS((int));
  30.  
  31. #ifdef HAVE_SELECT
  32. int select_fd PARAMS((int, int));
  33. #endif
  34. int iread PARAMS((int, char *, int));
  35. int iwrite PARAMS((int, char *, int));
  36.  
  37. #endif /* CONNECT_H */
  38.